<script>
import {mapActions} from 'vuex';
import {getLocalStorage,post} from './utils/index.js';
export default {
	onLaunch(){
		var userInfo = getLocalStorage('userInfo');
		if(userInfo){
			this.$store.dispatch('setUserInfo', userInfo);
		}
	},
	onShow(){
		
	},
	onHide(){
		//console.log('App Hide')
	}
}
</script>

<style>
@import "style/uni.css";
@import "style/iconfont.css";
*{margin:0; padding: 0; line-height: initial;}
ul,li{
	list-style: none;
}
a{
	text-decoration: none;
}
page{
	background: #E5E5E5;
	color: #333;
}
view{
	line-height: initial;
}
/*白色背景*/
.white_bg{
	background: #f8f8f8;
}
/*左右内距20upx*/
.padding10{
	padding:0 20upx;
	box-sizing: border-box;
}
/*距离上边距30upx*/
.margin_top30{
	margin-top:30upx;
}
</style>
